﻿namespace PLCS.SocialHttpApi.Models;

/// <summary>
/// 下发任务实体类
/// </summary>
public class MesSendTaskData
{
    public int SiteNo { get; set; }
    public string PdLineNo { get; set; }
    public string OrderNo { get; set; }
    public string ProductNo { get; set; }
    public int TaskType { get; set; }
    public int TrayType { get; set; }
    public string MaterialNo { get; set; }
    public string TrayCode { get; set; }
    public int MaterialType { get; set; }
    public string StartPos { get; set; }
    public string EndPos { get; set; }
    public int Level { get; set; }
}

/// <summary>
/// 任务状态反馈
/// </summary>
public class TaskStatusFeedback
{
    public string OrderNo { get; set; }
    public int Status { get; set; }
    public int Type { get; set; }
    public string TaskId { get; set; }
    public string ProductNo { get; set; }
    public string StationNo { get; set; }
    public DateTime CreateTime { get; set; }
}

/// <summary>
/// 工位状态反馈
/// </summary>
public class StationStatusFeedBack
{
    public string StationNo { get; set; }
    public int Status { get; set; }
}

/// <summary>
/// 炉内信息
/// </summary>
public class InnerItem
{
    public string TrayNo { get; set; }
    public string ProductNo { get; set; }
    public int IconSource { get; set; }
    public string IconCoreNo { get; set; }
}

/// <summary>
/// 配炉单下发
/// </summary>
public class SendStoveOrderData
{
    public string StoveOrderNo { get; set; }
    public string EqNo { get; set; }
    public int OrderType { get; set; }
    public List<InnerItem> itemInfo { get; set; }
}